﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace 桌面视频录制
{
    public partial class FormTextInput : Form
    {
        public FormTextInput()
        {
            InitializeComponent();
        }
        public string GetText()
        {
            return textBox1.Text;
        }
        public Font GetTextFont()
        {
            return textBox1.Font;
        }
        private void buttonOK_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void buttonFont_Click(object sender, EventArgs e)
        {
            if (fontDialog.ShowDialog() == DialogResult.OK)
                this.textBox1.Font = fontDialog.Font;
        }
    }
}